
//------------------------------------------------------------------------------
 
using System;
using System.ComponentModel.DataAnnotations;
namespace Apps.Models
{

	public partial class CY_MIX_CONDITIONModel:Virtual_CY_MIX_CONDITIONModel
	{
        [Display(Name = "机组名称")]
        public string CREW_NAME { set; get; }

        public string SEASON_NAME
        {
            get
            {
                if(SEASON.Trim()== "1")
                {
                    return "春季";
                }
                else if (SEASON.Trim() == "2")
                {
                    return "夏季";
                }
                else if (SEASON.Trim() == "3")
                {
                    return "秋季";
                }
                else if (SEASON.Trim() == "4")
                {
                    return "冬季";
                }
                else 
                {
                    return SEASON;
                }
            }
        }

    }
	public class Virtual_CY_MIX_CONDITIONModel
	{
		[Display(Name = "工况编号")]
		public virtual string CONDITION_ID { get; set; }
		[Display(Name = "机组编号")]
		public virtual string CREW_ID { get; set; }
		[Display(Name = "季节")]
		public virtual string SEASON { get; set; }
		[Display(Name = "工况平均负荷率")]
		public virtual decimal LOADRATE { get; set; }
		[Display(Name = "负荷率下限")]
		public virtual decimal MIN_LOADRATE { get; set; }
		[Display(Name = "负荷率上限")]
		public virtual decimal MAX_LOADRATE { get; set; }
		[Display(Name = "燃煤收到基低位发热量下限")]
		public virtual decimal MIN_QNETAR { get; set; }
		[Display(Name = "燃煤收到基低位发热量上限")]
		public virtual decimal MAX_QNETAR { get; set; }
		[Display(Name = "燃煤空干基挥发份下限")]
		public virtual decimal MIN_VAD { get; set; }
		[Display(Name = "燃煤空干基挥发份上限")]
		public virtual decimal MAX_VAD { get; set; }
		[Display(Name = "燃煤空干基全硫下限")]
		public virtual decimal MIN_STAD { get; set; }
		[Display(Name = "燃煤空干基全硫上限")]
		public virtual decimal MAX_STAD { get; set; }
		[Display(Name = "燃煤空干基灰分下限")]
		public virtual decimal MIN_AAD { get; set; }
		[Display(Name = "燃煤空干基灰分上限")]
		public virtual decimal MAX_AAD { get; set; }
		[Display(Name = "耗煤量(折算至发电标煤耗)")]
		public virtual decimal COALCONSUMPTION { get; set; }
		[Display(Name = "异常备注")]
		public virtual string EXCEPTIONS { get; set; }
		[Display(Name = "编制人")]
		public virtual string COMPILING_USER { get; set; }
		[Display(Name = "编制时间(YYYY-MM-DD HH24:MI:SS)")]
		public virtual Nullable<System.DateTime> COMPILING_TIME { get; set; }
		}
}
